import requests
import random

# proxies = {
#     'http':'http://139.129.202.244:80',
#     'https':'https://139.129.202.244:80',
# }
proxies = [
    {"ip": "106.46.182.231", "port": 50198}, {"ip": "183.166.19.235", "port": 25814},
    {"ip": "115.211.216.15", "port": 36218}, {"ip": "123.160.98.190", "port": 16475},
    {"ip": "42.84.88.76", "port": 58106}
]


proxy = random.choice(proxies)
# res = requests.get('http://httpbin.org/ip', proxies=proxies)
res = requests.get('https://desk-fd.zol-img.com.cn/t_s960x600c5/g5/M00…hMkJl4dLNWICWDkAAJuLMSELg4AAwWUAIyjRcAAm5E585.jpg', proxies=proxy)
print(res.content.decode())
